From: Carlos Garnacho Date: Wed, 17 Nov 2021 23:03:08 +0000 (+0100) Subject: modalDialog: Make reactive X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~530^2^2~195 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=88d60a70a345bad711130bfcfa6d20954af3f647;p=gnome-shell.git modalDialog: Make reactive Some dialogs like the runDialog expect this actor to receive key events while it is not reactive. Whatever that black magic was it will no longer work. Make the actor reactive, so it can simply handle key events. Part-of: --- diff --git a/js/ui/modalDialog.js b/js/ui/modalDialog.js index caa874454..4b3078ae5 100644 --- a/js/ui/modalDialog.js +++ b/js/ui/modalDialog.js @@ -32,9 +32,11 @@ var ModalDialog = GObject.registerClass({ }, class ModalDialog extends St.Widget { _init(params) { super._init({ visible: false, - x: 0, - y: 0, - accessible_role: Atk.Role.DIALOG }); + reactive: true, + x: 0, + y: 0, + accessible_role: Atk.Role.DIALOG, + }); params = Params.parse(params, { shellReactive: false, styleClass: null,